﻿<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl<IList<Prodma.DataAccess.Models.ViewModels.MenuLocationVm>>" %>

<ul class="mainMenu" id="mainMenu">  
  <li><img src="../../../Images/MenuIcons/sitemanagement_ico.png" alt="" class="menuIcon" /><a href="#">Site Yönetimi</a>
  <ul>    
    <li><img src="../../../Images/MenuIcons/panel_ico.png" alt="" class="menuIcon" /><a href="/home/">Yönetim Paneli</a></li>
    <li><img src="../../../Images/MenuIcons/user_ico.png" alt="" class="menuIcon" /><a href="/user/">Kullanıcı Yöneticisi</a></li>
    <li><img src="../../../Images/MenuIcons/role_ico.png" alt="" class="menuIcon" /><a href="/role/">Yetki Yöneticisi</a></li>
    <li><img src="../../../Images/MenuIcons/project_ico.png" alt="" class="menuIcon" /><a href="/project/">Proje Yöneticisi</a></li>
    <li><img src="../../../Images/MenuIcons/area_ico.png" alt="" class="menuIcon" /><a href="/area/">Bölge Yöneticisi</a></li>
    <li><img src="../../../Images/MenuIcons/language_ico.png" alt="" class="menuIcon" /><a href="/language/">Dil Yöneticisi</a></li>
  </ul>
  </li>
  <li><img src="../../../Images/MenuIcons/menumanagement_ico.png" alt="" class="menuIcon" /><a href="#">Menü Yönetimi</a>  
  <ul>  
      <li><img src="../../../Images/MenuIcons/menulocation_ico.png" alt="" class="menuIcon" /><a href="/menuLocation/">Menüler</a></li>
      <% foreach (Prodma.DataAccess.Models.ViewModels.MenuLocationVm location in ViewData.Model) %>
      <% { %>
            <li><img src="../../../Images/MenuIcons/menumanagement_ico.png" alt="" class="menuIcon" />
                <a href='/menu/?location=<%=location.Id %>'><%=location.Name %></a>
            </li>
      <% } %>
  </ul>    
  </li>
  <li><img src="../../../Images/MenuIcons/contentmanagement_ico.png" alt="" class="menuIcon" /><a href="#">İçerik Yönetimi</a>  
  <ul>
      <li><img src="../../../Images/MenuIcons/archive_ico.png" alt="" class="menuIcon" /><a href="/archive/">Arşiv Yöneticisi</a></li>  
      <li><img src="../../../Images/MenuIcons/section_ico.png" alt="" class="menuIcon" /><a href="/section/">Bölüm Yöneticisi</a></li>
      <li><img src="../../../Images/MenuIcons/category_ico.png" alt="" class="menuIcon" /><a href="/category/">Kategori Yöneticisi</a></li>
      <li><img src="../../../Images/MenuIcons/content_ico.png" alt="" class="menuIcon" /><a href="/content/">Yazı Yöneticisi</a></li>
  </ul>    
  </li>
  <li><img src="../../../Images/MenuIcons/gallery_ico.png" alt="" class="menuIcon" /><a href="/galleryCategory/">Galeri</a></li>
  <li><img src="../../../Images/MenuIcons/componentmanagement_ico.png" alt="" class="menuIcon" /><a href="#">Bileşenler</a>
  <ul>
      <li><img src="../../../Images/MenuIcons/banner_ico.png" alt="" class="menuIcon" /><a href="/banner/">Reklam Yöneticisi</a></li>  
      <li><img src="../../../Images/MenuIcons/marquee_ico.png" alt="" class="menuIcon" /><a href="/marquee/">Kayan Yazı Yöneticisi</a></li>  
      <li><img src="../../../Images/MenuIcons/agency_ico.png" alt="" class="menuIcon" /><a href="/agency/">Acente Yöneticisi</a></li>
      <li><img src="../../../Images/MenuIcons/survey_ico.png" alt="" class="menuIcon" /><a href="/survey/">Anket Yöneticisi</a></li>
  </ul>
  </li>
  <li><img src="../../../Images/MenuIcons/logout_ico.png" alt="" class="menuIcon" /><a href="/Account/Logout/">Kullanıcı Çıkışı</a></li>  
</ul> 